var http = require('http');
var fs = require('fs');

var hostname = '127.0.0.1';
var port = '3000';

var server = http.createServer(function (req, res){
    fs.readFile('./1111.jpg',function (err, data){
        res.end(data);
    });
});

server.listen(port, hostname);